<template>
  <div class="subject">
    <!-- 刷题板块 -->
    <div class="subject_content">
      <Quentions />
    </div>
    <!-- 排行榜 -->
    <div class="subject_ranking">
      <Ranking />
    </div>
  </div>
</template>

<script setup>
import Quentions from "./Questions/index.vue";
import Ranking from "./Ranking/index.vue";
</script>

<style scoped lang="scss">
.subject {
  width: 80%;
  height: calc(100vh - 55px);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  margin: 0 auto;
  .subject_content {
    flex: 4;
    background-color: #fff;
    border-radius: 10px;
    margin-right: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.123);
  }
  .subject_ranking {
    flex: 1;
  }
}
</style>